package com.chen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.entity.AddressBook;

import java.util.List;

public interface AddressBookService extends IService<AddressBook> {
    void add(AddressBook addressBook);

    List<AddressBook> findlist(Long userId);

    void addressBookdefault(AddressBook addressBook);

    AddressBook get(Long id);

    void updateAddressBook(AddressBook addressBook);

    void deleteByIds(Long[] ids);

    AddressBook getdefault();
}
